package com.chaos.auth.api.dto;

import com.chaos.framework.model.data.DATA;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author Jacky
 */
@Deprecated

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "MenuDto", description = "")
public class MenuDto extends DATA {

    private String name;

    private Long parentId;

    private String routePath;

    private String icon;

    private Integer visible;

    private String sort;

    private Integer type;

    @ApiModelProperty(value = "关联类型 1 菜单 2 按钮")
    private Integer correlationType;

    private List<MenuDto> submenus;

    private List<MenuBtnDto> btnList;
}
